Improved the result processor