New version with websocket!