validations working and tested