thanks a lot! both solutions work, to initialize the arrays of int I'm doing: int[][][string] foo; foo["key"] = new int[][](6,6); foo["key"][0][0] = 5; it seems to work.