I think it would be a bit simpler if we used a constant value as property name such as "currentValue".