working with contour data in razor