modified data validation