added randomization and permutation pvalues