bit manipulation problems | Comidoc