repository: added findPrimaries()