adding slice indexing