check for non-null data