Fixes it all up for grading.