enabling Array in Java
changing variable indexing scheme