modified variable name (memLog->tableLog)