vector and element modified