This line should be inside compareTable.