fixed bit-querying