initial import of the demo code