rearranged ending