Removed exit() that wasn't needed