added stuff to Contour