edit ending