Complete Rectified Solution