changed the demo somewhat