support indexing single or multiple