moved Intersection calc to seperate Class