Is exit really needed here?