exits loop now