added some bit swizzles