for websocket practice