Finished demo app. (ch 2)