more functional, applied averager, now so smooth