making the main program