Added $input variable in the scope of "current-value" function. It contains the received SU.