changes to reuse vector data