some experimental code in nodejs, just for fun :)