reworked demo app with documentation changes