some improvements to distributions