detrains