Create and format tables