added swift check stub