changed general action type from string to * to allow for more general action objects