change vector:foreach fn