implemented the hourly and daily tabs