swap sleep sequence.