handle phi loops properly
export PGOMonitor