renaming _main to main