class option to addLine