Added overloaded index method