Thank you, I thought that was the case. I have another problem.
I created: var temp; above vec_set. Now I receive a syntax error on the vec_add line. I'm not sure why though.