added contour plotting