doing things with vectors