project from chapter 2 of BNR iOS programming 4th edition