Added getPotentialContactsWith function