add demo vector programming