new version of vdchecker using swift