Why the change from pair.getValue.size to entry.size ?