second version of the demo app