rewrite stats to make use of non-parametric tests