Fewer days of cocaine use ( p = @ ) , fewer days engaged in illegal activities at baseline ( p < @ ) and at each visit ( p < @ ) , less money spent on drugs ( p < @ ) , days with injection opioid or oral methadone treatment ( p < @ ) and total mg of injectable opioids taken ( p < @ ) , independently predicted lower use of illicit heroin .