changed format of validations for easier readability