added check_vulns method