What gets me sometimes though is the "unexpected" exercise. A few months ago, while on vacation, I decided to climb the 10 flights of stairs up to my room, not wanting to deal with the slow and crowded elevator. 4 hours later, it's 2:00 AM and my mind is racing and it's like "why can't I sleep, that was a long day!". The next morning I remembered my trek upstairs and reminded myself that anything which elevates the heart rate is best avoided before sleep.