ch7 - world in motion partial boilerplate code