Started working on def controller method