reformated the table