Updated with permutation test