for initialising the control system