added variable names to ellipse and line code