Adding the main program