implement calculateEffectiveness