vcfcreator code rearrangement