implement Postprocessing Step 5