added windows client code