Simple data validation