Modified node client example