using bitwise operators