make the demo working