added support for node client