redid your stuff for action controller