Make startingIntersection an Intersection and not an int