adds tables to log