removed bit constants, use byte constants instead