Add parseLines and renderLines