I was copy-and-pasting the relaxCb lines from above but I understand we don't need them for speed changes so I have deleted them from setSpeedCb.