generated the model