added the posttreatment changes