changed TYPE_N to array
resolving conflicts. DICE