moved svg code to separate h/c module