reformatting tables to remove lots of lines