Use of a compound of Formula XII for the manufacture of a medicament in an oral dosage form for the treatment of tolerance and/or withdrawal from substances of addiction selected from the group consisting of alcohol, nicotine and cocaine; wherein: R 1, R 2 is independently selected from the group consisting of hydrogen, halo, alkyl, cycloalkyl, heterocycloalkyl, bicycloalkyl, heterobicycloalkyl, spiroalkyl, spiroheteroalkyl, aryl, heteroaryl, cycloalkyl fused aryl, heterocycloalkyl fused aryl, cycloalkyl fused heteroaryl, heterocycloalkyl fused heteroaryl, cycloalkylalkyl, heterocycloalkylalkyl, bicycloalkylalkyl, heterobicycloalkylalkyl, spiroalkylalkyl, spiroheteroalkylalkyl, arylalkyl, heteroarylalkyl, cycloalkyl fused arylalkyl, heterocycloalkyl fused arylalkyl, cycloalkyl fused heteroarylalkyl, heterocycloalkyl fused heteroarylalkyl, heterocycloalkyl, bicycloalkyl, heterobicycloalkyl, spiroalkyl, spiroheteroalkyl, aryl, heteroaryl, cycloalkyl fused aryl, heterocycloalkyl fused aryl, cycloalkyl fused heteroaryl, heterocycloalkyl fused heteroaryl, cycloalkylalkyl, heterocycloalkylalkyl, bicycloalkylalkyl, heterobicycloalkylalkyl, spiroalkylalkyl, spiroheteroalkylalkyl, arylalkyl, heteroarylalkyl, cycloalkyl fused arylalkyl, heterocycloalkyl fused arylalkyl, cycloalkyl fused heteroarylalkyl, hydroxy, alkoxy, aryl, heteroaryl, arylalkyl, heteroarylalkyl, alkenyl, alkynyl, NO 2, CN, and fluoroalkyl, wherein alkyl, cycloalkyl, alkoxy, alkenyl, alkynyl and fluoroalkyl are optionally substituted one or more times and heterocycloalkyl fused heteroarylalkyl are optionally substituted one or more times; N-oxides, deuterated analogs, pharmaceutically acceptable salts, formulations, polymorphs, tautomers, racemic mixtures and stereoisomers thereof. R 1, R 2 is independently selected from the group consisting of hydrogen, halo, alkyl, cycloalkyl, heterocycloalkyl, bicycloalkyl, heterobicycloalkyl, spiroalkyl, spiroheteroalkyl, aryl, heteroaryl, cycloalkyl fused aryl, heterocycloalkyl fused aryl, cycloalkyl fused heteroaryl, heterocycloalkyl fused heteroaryl, cycloalkylalkyl, heterocycloalkylalkyl, bicycloalkylalkyl, heterobicycloalkylalkyl, spiroalkylalkyl, spiroheteroalkylalkyl, arylalkyl, heteroarylalkyl, cycloalkyl fused arylalkyl, heterocycloalkyl fused arylalkyl, cycloalkyl fused heteroarylalkyl, heterocycloalkyl fused heteroarylalkyl, heterocycloalkyl, bicycloalkyl, heterobicycloalkyl, spiroalkyl, spiroheteroalkyl, aryl, heteroaryl, cycloalkyl fused aryl, heterocycloalkyl fused aryl, cycloalkyl fused heteroaryl, heterocycloalkyl fused heteroaryl, cycloalkylalkyl, heterocycloalkylalkyl, bicycloalkylalkyl, heterobicycloalkylalkyl, spiroalkylalkyl, spiroheteroalkylalkyl, arylalkyl, heteroarylalkyl, cycloalkyl fused arylalkyl, heterocycloalkyl fused arylalkyl, cycloalkyl fused heteroarylalkyl, hydroxy, alkoxy, aryl, heteroaryl, arylalkyl, heteroarylalkyl, alkenyl, alkynyl, NO 2, CN, and fluoroalkyl, wherein alkyl, cycloalkyl, alkoxy, alkenyl, alkynyl and fluoroalkyl are optionally substituted one or more times and heterocycloalkyl fused heteroarylalkyl are optionally substituted one or more times; N-oxides, deuterated analogs, pharmaceutically acceptable salts, formulations, polymorphs, tautomers, racemic mixtures and stereoisomers thereof.