component version of the demo