add ability to get_potentials_for_contact