Exampel of expand)value and expand_idx