moved class brace in Main.as