add methods to WS