replace :? with >>= 7 to get 7th bit of a