reform the code to support checking multiple vuls in one run. not done yet. temp version