use the diversification library