code using vcflib in place