now checks for name