Actually just take the first four lines from manualcontrol.c