updated index more syntax