used as a demo for node.js