how to use arrange websocket data