simplify read_bit