More stuff from chapter 4
Finally got data type correct for #2 on p. 36