changed warning to stop