Smart intersections