format output of recogniion