added debugging to understand flatMap on map & sequence()