ending date is optional