Changed name of main function.