working on svg without lib