Removed averaging functionality