Typing in and testing Keith's code - Part 2