format the program