extract out methods that the controller is specializing in into two methods

Signed-off-by: Andre Dublin <81dublin@gmail.com>