Validating is almost working