Changed the variable name currentValue to current_value