Using bitwise operators for more resolution