Title: ALPHA-7 NICOTINIC RECEPTOR MODULATORS FOR THE TREATMENT OF PAIN, A PSYCHOTIC DISOR-DER, COGNITIVE IMPAIRMENT OR ALZHEIMER'S DISEASE [err]Abstract: Compounds are disclosed which modulate the a7 nicotinic acetyl choline receptor (nAChR), having the formula (I) wherein the variables are as specified in the description and claims.