guard the new add_vector implementation properly