modified the post processing function spec