Each of @ cocaine-dependent participants first completed a qualifying session to ensure that intranasal cocaine functioned as a reinforcer , then completed a @-session , within-subject , randomized crossover study .