Modify ending