Moved main2 to main