some bit manipulation operations.