improve coding style: vector