implement Mutable trait for vec