create permuter factory