support for multiple averaging intervals