unless end_date is undefined