reorganized the program to fit on one page