Completed Chap 2 sample app.