main2 to main