helper for VectorX