postprocess functions in final draft