end date is exclusive to the range