added intial demo. this is obsolete and does not match the code