using a non-uniform electric field