You can use a `.flatMap` here instead of `.map { .. }.flatten`