setup distribution