Added ability to pass in a node as the first argument