support three index map