Did a ton of stuff with bitfields