changing the format of the table