create main program