wrap code corrections and justification notes