implement updated SVG replacement