added repo_model generation