Update Main.java

Changes from gitHub