Added get-value function.