more vector utils, hopefully the last ones