can we fail hard here? raise an exception if something is calling this function when we're not in distribution mode