comment not to do bit-inversion here