added value function