inserted 20ms delay after program page