reverted code for calculating rates because tc shows 10sec averages