added warning for missing data