Name of main function changed