terminal potential