adding controller to work