Added an addLine feature