add controller method