Calculation with distribution and without