added swift environment