Edited index.java