improved vector type