format addLine output