added swift lib