removed old websockets code