added in repository class