display tables in different format