Contour implementation update
Contour implementation update