added support for Ellipse