Changed end to end_date