toVec does not return anything