add vector sample