add permutation data structure