change name of new_main to main