curl model and repository