tweaked the demo