add method in project controller