wip - websocket communication