add check for name