add validates in models