Sometimes resting causes sleep