removed quantile function