transformation methods on Vec