how about `return [Line(p, pt) for pt in points]` and delete everything below.