finished the demo