updates to data validation