improved example for loading mappings via iterators