smarter averaging