improvements to the control system