refactoring of exp fam potentials