2nd level post processing code