Updated getInput to return list of actions