started working on passing in actions and parameters