added support for svg