use 24-hour array of data