Modified the java file