vectors instead of arrays