add controller to handle event