The present invention provides compounds of formula (I) and compositions thereof, methods of making them, and methods of using them to modulate alpha7 nicotinic acetylcholine receptors and/or to treat any of a variety of disorders, diseases, and conditions. Provided compounds can affect, among other things, neurological, psychiatric and/or inflammatory system.