better check for missing data