making progress on websocket interaction