Change method to check bit.