use isset instead of !== NULL