added swift distribution stuff