A compound of the formula: wherein A is a five-membered heteroaryl ring which is optionally substituted with halo, cyano or C 1-3 alkyl; B is phenyl or heteroaryl, which may be monocyclic or bicyclic, wherein said phenyl and heteroaryl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, oxo, cyano, R 4 , R 6 , OR 4 , NHR 4 , NR 4 R 5 , NO 2 and SR 4 ; R 1 is naphthalenyl or quinolinyl wherein said naphthalenyl and quinolinyl groups are optionally substituted with one to two groups independently selected from the group consisting of halo, oxo, cyano, R 4 and OR 4 ; R 2 is selected from the group consisting of NH(C=O)R 6 , NH(C=O)CH(CH 3 )R 6 and NH(C=O)R 4 ; R 3 is hydrogen or C 1-6 alkyl; or R 2 and R 3 can be taken together with the atoms to which they are attached to form a 5-membered heterocyclyl group which is optionally substituted with oxo; each R 4 is independently hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo, cyano and OR 5 ; each R 5 is independently hydrogen or C 1-6 alkyl; R 6 is (a) heterocyclyl, which may be monocyclic or bicyclic, (b) C 3-6 cycloalkyl, (c) phenyl, or (d) heteroaryl, which may be monocyclic or bicyclic, wherein said heterocyclyl, cycloalkyl, phenyl and heteroaryl groups are optionally substituted with one to two groups independently selected from the group consisting of oxo, R 4 and OR 4 ; or a pharmaceutically acceptable salt thereof. wherein A is a five-membered heteroaryl ring which is optionally substituted with halo, cyano or C 1-3 alkyl; B is phenyl or heteroaryl, which may be monocyclic or bicyclic, wherein said phenyl and heteroaryl groups are optionally substituted with one to three substituents independently selected from the group consisting of halo, oxo, cyano, R 4 , R 6 , OR 4 , NHR 4 , NR 4 R 5 , NO 2 and SR 4 ; R 1 is naphthalenyl or quinolinyl wherein said naphthalenyl and quinolinyl groups are optionally substituted with one to two groups independently selected from the group consisting of halo, oxo, cyano, R 4 and OR 4 ; R 2 is selected from the group consisting of NH(C=O)R 6 , NH(C=O)CH(CH 3 )R 6 and NH(C=O)R 4 ; R 3 is hydrogen or C 1-6 alkyl; or R 2 and R 3 can be taken together with the atoms to which they are attached to form a 5-membered heterocyclyl group which is optionally substituted with oxo; each R 4 is independently hydrogen or C 1-6 alkyl, which is optionally substituted with one to three groups independently selected from the group consisting of halo, cyano and OR 5 ; each R 5 is independently hydrogen or C 1-6 alkyl; R 6 is (a) heterocyclyl, which may be monocyclic or bicyclic, (b) C 3-6 cycloalkyl, (c) phenyl, or (d) heteroaryl, which may be monocyclic or bicyclic, (a) heterocyclyl, which may be monocyclic or bicyclic, (b) C 3-6 cycloalkyl, (c) phenyl, or (d) heteroaryl, which may be monocyclic or bicyclic, wherein said heterocyclyl, cycloalkyl, phenyl and heteroaryl groups are optionally substituted with one to two groups independently selected from the group consisting of oxo, R 4 and OR 4 ; or a pharmaceutically acceptable salt thereof. <EOS>