added xIndicesTo