Provided are compounds and their pharmaceutically acceptable salts that are useful for the treatment of diseases related to the adenosine receptor. Also included are methods of treating patients suffering from or susceptible to at least one symptom of abuse of, dependence on, or withdrawal from at least one substance.