Rewrote Controls.fi to work on bit modulo