output formator