todo on multi-thread node.js version added, it won't be really easy i think