changed to programme, untested
remove old pai