added missing methods to controller