Experimenting with a scala for comprehension.