changed int[][][]