A compound of formula: in which: Y at each occurrence is independently selected from N and CH; R 1 is selected from pyrimidinyl, pyridinyl, phenyl, quinoxalinyl and isoquinolinyl; wherein said pyrimidinyl, pyridinyl, phenyl, quinoxalinyl and isoquinolinyl of R 1 is unsubstituted or substituted with 1 to 3 R 6 groups; R 2 is selected from pyrrolidinyl, piperidinyl, azetidinyl, morpholino, piperazinyl, 2-oxa-6-azaspiro[3.4]-octanyl, 3-azabicyclo[3.1.0]hexan-3-yl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl,hexahydropyrrolo[3,4-c]pyrrolyl, 6-oxo-2,7-diazaspiro[4.4]-nonanyl, 1H-2,3-dihydropyrrolo[3,4-c]pyridinyl, 1,4-oxazepan-4-yl, 2-oxooxazolidinyl, 1,4-diazepanyl, tetrahydro-2H-pyranyl, 3,6-dihydro-2H-pyranyl, 3,7-dioxa-9-azabicyclo[3.3.1]nonanyl and-NR 5a R 5b; wherein said pyrrolidinyl, piperidinyl, azetidinyl, morpholino, piperazinyl, 1,4-oxazepan-4-yl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl, 2-oxa-6-azaspiro[3.4]-octanyl, 3-azabicyclo[3.1.0]hexan-3-yl, hexahydropyrrolo[3,4-c]pyrrolyl, 6-oxo-2,7-diazaspiro[4.4]-nonanyl, 1H-2,3-dihydropyrrolo[3,4-c]pyridinyl, 2-oxooxazolidinyl, 1,4-diazepanyl, tetrahydro-2H-pyranyl, 3,6-dihydro-2H-pyranyl, or 3,7-dioxa-9-azabicyclo[3.3.1]nonanyl is unsubstituted or substituted with 1 to 3 R 7 groups; R 3 is selected from hydrogen and halo; R 4 is selected from -SF 5 and -Y 2 -CF 2 -Y 3; R 5a is selected from hydrogen and methyl; R 5b is selected from C 1-4 alkyl and tetrahydro-2H-pyran-4-yl; wherein said alkyl of R 5b is unsubstituted or substituted with 1 to 3 groups independently selected from hydroxy and dimethyl-amino; R 6 at each occurrence is independently selected from methyl, methoxy, cyano, trifluoromethyl, methoxy-carbonyl, 2-hydroxypropan-2-yl, hydroxy-methyl, halo, amino, fluoroethyl, ethyl and cyclopropyl; R 7 at each occurrence is independently selected from hydroxy, methyl, methoxy, hydroxy-methyl, amino, methyl-amino, amino-methyl, trifluoromethyl, 2-hydroxypropan-2-yl, methyl-carbonyl-amino, dimethyl-amino, cyano and amino-carbonyl; or two R 7 groups combine with the atom to which they are attached to form a ring selected from cyclopropyl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl and 3-azabicyclo[3.1.0]hexan-3-yl; wherein said 3-azabicyclo[3.1.0]hexan-3-yl can be optionally substituted with amino; Y 1 is selected from N and CR 5; wherein R 5 is selected from hydrogen, methoxy and imidazolyl; wherein said imidazolyl is unsubstituted or substituted with methyl; Y 2 is selected from CF 2, O and S 0-2; and Y 3 is seleectd from hydrogen, halo, methyl, difluoromethyl and trifluoromethyl; or the pharmaceutically acceptable salts thereof. Y at each occurrence is independently selected from N and CH; R 1 is selected from pyrimidinyl, pyridinyl, phenyl, quinoxalinyl and isoquinolinyl; wherein said pyrimidinyl, pyridinyl, phenyl, quinoxalinyl and isoquinolinyl of R 1 is unsubstituted or substituted with 1 to 3 R 6 groups; R 2 is selected from pyrrolidinyl, piperidinyl, azetidinyl, morpholino, piperazinyl, 2-oxa-6-azaspiro[3.4]-octanyl, 3-azabicyclo[3.1.0]hexan-3-yl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl,hexahydropyrrolo[3,4-c]pyrrolyl, 6-oxo-2,7-diazaspiro[4.4]-nonanyl, 1H-2,3-dihydropyrrolo[3,4-c]pyridinyl, 1,4-oxazepan-4-yl, 2-oxooxazolidinyl, 1,4-diazepanyl, tetrahydro-2H-pyranyl, 3,6-dihydro-2H-pyranyl, 3,7-dioxa-9-azabicyclo[3.3.1]nonanyl and-NR 5a R 5b; wherein said pyrrolidinyl, piperidinyl, azetidinyl, morpholino, piperazinyl, 1,4-oxazepan-4-yl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl, 2-oxa-6-azaspiro[3.4]-octanyl, 3-azabicyclo[3.1.0]hexan-3-yl, hexahydropyrrolo[3,4-c]pyrrolyl, 6-oxo-2,7-diazaspiro[4.4]-nonanyl, 1H-2,3-dihydropyrrolo[3,4-c]pyridinyl, 2-oxooxazolidinyl, 1,4-diazepanyl, tetrahydro-2H-pyranyl, 3,6-dihydro-2H-pyranyl, or 3,7-dioxa-9-azabicyclo[3.3.1]nonanyl is unsubstituted or substituted with 1 to 3 R 7 groups; R 3 is selected from hydrogen and halo; R 4 is selected from -SF 5 and -Y 2 -CF 2 -Y 3; R 5a is selected from hydrogen and methyl; R 5b is selected from C 1-4 alkyl and tetrahydro-2H-pyran-4-yl; wherein said alkyl of R 5b is unsubstituted or substituted with 1 to 3 groups independently selected from hydroxy and dimethyl-amino; R 6 at each occurrence is independently selected from methyl, methoxy, cyano, trifluoromethyl, methoxy-carbonyl, 2-hydroxypropan-2-yl, hydroxy-methyl, halo, amino, fluoroethyl, ethyl and cyclopropyl; R 7 at each occurrence is independently selected from hydroxy, methyl, methoxy, hydroxy-methyl, amino, methyl-amino, amino-methyl, trifluoromethyl, 2-hydroxypropan-2-yl, methyl-carbonyl-amino, dimethyl-amino, cyano and amino-carbonyl; or two R 7 groups combine with the atom to which they are attached to form a ring selected from cyclopropyl, pyrrolo[3,4-c]pyrazol-5(1H,4H,6H)-yl and 3-azabicyclo[3.1.0]hexan-3-yl; wherein said 3-azabicyclo[3.1.0]hexan-3-yl can be optionally substituted with amino; Y 1 is selected from N and CR 5; wherein R 5 is selected from hydrogen, methoxy and imidazolyl; wherein said imidazolyl is unsubstituted or substituted with methyl; Y 2 is selected from CF 2, O and S 0-2; and Y 3 is seleectd from hydrogen, halo, methyl, difluoromethyl and trifluoromethyl; or the pharmaceutically acceptable salts thereof.