Added segment value function.