better result processing output