Update Main_class.java

new changes