trying to get it to work on node as well