POT example code.