output formated in table