added elipse render function