Still working on the bitwise logic...