can now supply a contour level
turned off debugging