additional logging, updated demo app