chapter10 examples for routing