works in node 0.10