adding using vector