add controller and test