add a program frame