The anatomy of an effective habit