changed the main function name