added addVectorMess function