added end_date to models