idxfuncs are better now
idxfuncmap is ok