Restoring Main.java