working on indexing methods