first version that works with the diversity measure