validates in event model