removed unwanted codings from main.java