linking websocket messages to positions