model and repository usage