Formatted the tables