more recent version of containers
Index.flat_map function