new full running demo code in place