vanilla and v should not be inside the anonymous function.