adding elements to the svg graphic