vector funcs usage added