implemented read curvature and color