Implementation of average hourly