localize variables to a permute method