On second thought, make exit only at end