example validation on the model