changes for compare of daily and hourly