Removed exit() so the loop my continue