ch3: flatMap