change to return abs contour