For the benefit of anyone else reviewing this code: _value was defined twice, and this just removed the superfluous one.