improved distr module