adding Main.java