There now feel better?

Those Dodgers suddenly all adrift and looking lost got it together in a big way Tuesday night in a 9-3 victory over the Arizona Diamondbacks to snap their four-game losing streak.

Amazing what getting a couple of big bats back in the lineup can do for a team.

Matt Kemp and Hanley Ramirez were deemed healthy returned to the lineup and were instantly productive the Dodgers scoring four times in the first and leading 8-0 after 3½ innings.

With the victory the Dodgers finally cut into their magic number for clinching the National League West to two. They can become the first team in baseball to clinch their division with a victory over the second-place Diamondbacks on Wednesday.

Kemp (ankle hamstring) started his first game since July 21 and went four for four with a pair of doubles – one off the center-field wall -- and three RBIs. Ramirez (back leg) went one for two and walked three times and scored twice.

Right-hander Zack Greinke (15-4) continued on his hot streak holding Arizona to two runs on six hits and a walk in six innings. He struck out five.

Greinke is now unbeaten in his last 10 starts going 7-0 with a 1.70 earned-run average.

The Dodgers jumped on left-hander Patrick Corbin in a hurry. After Mark Ellis singled with one out Hanley Ramirez followed with a base hit. After Adrian Gonzalez popped up Kemp doubled in the corner to score both runners.