added function analysis - roots and intersections