add averageseries attribute