contours working properly :)