lines 2.0

lines with error protection