distr module improvements