Change index.java file