added the action variable