use bit operators and enums a bit