added average prog from Summerfeld