another attempt by removing websocket