start and end lines added, still problems with intersections