update app to be consistent with the book at the start of 11.5 (iteration F5)