updated vector type and coding style