chapter 5 impl details. figures legend for vel comp.