Added rendering of contours