adding websocket block