hopefully this also works in node..