Added select function of equal dices