add custom model for repository