Changed Main.java