+JamesMaggs: translating for comprehension to flatmap and map