added logging to demo
Got demo working