trying to fix vector v in objects not being set (?)