Changed Main.java for trial