converterd "enumerate" to "enumarateArr" and "enumerateObj"