add cpp potential