added listIndexes method