Added the main program