add displayIntermediateValues.{h,c}