changing completely the approach to use SVG.