add vector support