primitive form of the demo