added svg element support