Draw contours implemented