removing websocket dependency