rectified and working