Added post processing functionality