added swift wrapper class