add Line and Ellipse routines