moved helpers into controller to test openshift