remove of switch for the actions