add: GetNextBlockValue() function, after GetBlockValue()