adding fa, fs, fn as parameters to SVGData constructor