now checks for NAG license and null data