added a mapPermSeq