Good use of data validation.