collisions with lines