Can now call more functions from controller