chap 2 demo app