 The major completed arm of the protocol has provided a wealth of descriptive data on drug craving and lapse via Ecological Momentary Assessment EMA, in which participants carry handheld data-collection devices electronic diaries, EDs on which they report, in real time, their activities and moods. Beyond data monitoring, EDs can be used to complement behavioral interventions. The data-collection devices can be additionally programmed to prompt completion of therapist-assigned homework exercises; by extending support outside the therapy session, clinical outcome may be improved. Furthermore, there is an evidenced association between completion of homework exercises and therapeutic outcome. Adapting existing homework assignments to make them more engaging may increase homework completion and, in turn, general compliance with therapy Arm 2. The rationale for the third arm of the study is to broaden the perspective of the examination of the natural history of drug cravings and lapses by refining our assessments of geographical location and the stressors associated with it. In doing so, we intend to investigate determinants of addiction that are not reducible to individual-level traits but are instead reflective of broader socioeconomic problems manifested in differences among neighborhoods. 