modified multidimensional utils