where did you add finalizeVector? I don't see it here