controller add method