demo app for ch 2