contour tracing finally working now