Use a bitfield for more efficiency.