Adding main program