extend to vector field
add a new test