new contour generator added