The Idea Behind Habits