Rename action to basic_action and simplify it