[UPDATE] moved svg creation to private method.