Go back to flatMap rather than "then". Need to think about what to call it more.