account for dataset with 1 day