changed sessions to deal with hour_index instead of dates