model generation done