changed the bit mask variable