modified WebSocket component added