using new WS lib