Renaming main function more accurately