Working version over WebSockets