add contour finding method, but it's broken right now