got the validations working