ok, now working postprocessing
added almost unit test