Add diffSeries function support