changed vector reference