web interface for contour function