only for repository