amend to node-resource Tamas