Summer project 2nd Rectification