add check for action