Mazayes contour training loop c (05/05/2011)