+ map function
+ permutation tests