wrote a table in a readable manner