Modification of the distribution method

Modification of the distribution method