added some bit ops