accept result of action in controller as array of vars for view