Updated potentials functions