exp and pareto functions