change to log.table