chapter 6: for comprehensions