work on distortion correction