HashMap indexing appears to work