Added get all index method