The present application discloses a compound of the formula (I) wherein Q is optionally substituted pyridyl; p is 0-6. Y is formulae (i), (ii) and (iii) where X is ═O, ═S and ═N—CN, r is 1-12, R is —Z-A, Z is a
single bond, —S(═O)2—, >P═O, >C═O, —C(═O)NH—, and —C(═S)NH—; and A is
hydrogen, C1-12-
alkyl, C3-12-cycloalkyl, —[CH2CH2O]1-10—(C1-6-
alkyl), C1-12-alkenyl,
aryl, heterocyclyl, and heteroaryl; B is a
single bond, —NRN—, —S(═O)2— and —O—; wherein RN is selected from
hydrogen, C1-12-
alkyl, C3-12-cycloalkyl, —[CH2CH2O]1-10—(C1-6-alkyl), C1-12-alkenyl,
aryl, heterocyclyl, and heteroaryl; s is 0-6; and Cy is
aryl, cycloalkyl, heterocyclyl, and heteroaryl. The compounds are useful for use as a medicament for the treatment of a
disease or a condition caused by an
elevated level of
nicotinamide phosphoribosyltransferase (NAMPRT).