Implemented segment value parsing functionality