MainClass2 layout corrected