chapter 4 - format fixes