making main program