better 3 bit answer