Added code for pa10_controller