chapter 3 - parallel path problem