added documentation for distribution fxns