use boolean values for bit manipulation