added the main program for the first time