From Habits to States