updated example
new intersectionData element for better return values