modify the controller.vhd