setup for intersections