revise before and after