add comment about what repository class does