Copy paste error, forgot to declare and define vector v.