now works in node