moved away from list_keys, now trialling a secondary index approach to getting distribution