Chapter 2 demo application