null distribution as iterator instead of function
null distribution as iterator instead of function