rename 'command' to 'action'