Manuel Pellegrini has praised Robert Snodgrass for reviving his West Ham career.
Snodgrass spent last season on loan at Aston Villa in the Championship and Pellegrini, on his appointment as Hammers boss, told the Scotland international to lose weight if he wished to show his commitment to the cause.
Pellegrini had admired Snodgrass in opposition, when the Chilean was at Manchester City and the Scotsman was at Norwich, and informed the midfielder his future at the London Stadium depended on him.
The Hammers boss said: "There were very few words that I spoke with him at the beginning of the season. I gave him some demands about his weight, about his work.
"I always found him a good player, just will depend on what he wants, if he had a spot here for the season.
"He's a very professional player. He's doing it very well because he had desire to be here."
Pellegrini's side play Cardiff on Tuesday, seeking to back up last Saturday's 3-0 win at Newcastle, which followed a 4-0 home defeat to Manchester City.
Asked the reason for the transformation of results, Pellegrini said: "Manchester City is a top team that doesn't allow you to make mistakes. We conceded two easy goals. You cannot concede those goals to those big teams."
The Hammers boss insisted the priority was Cardiff, even though, on paper, there appears to be an opportunity to climb the table in the next few weeks.
Fixtures with Crystal Palace, Fulham, Watford, Southampton and Burnley follow before the end of December.
Pellegrini added: "If we have our minds focused on Cardiff, it will be an important advance. To win three more points is what we must do here at home.
"One of the most important mistakes you can do is to think that because a team is in a bad position in the table it will be an easy game.
"The best games we played here were against Chelsea and Manchester United.
"I hope we are conscious tomorrow about that. I hope we give maximum of our pace and quality to have three points more (against Cardiff) and after that to think of the next rival."
Defenders Aaron Cresswell (hamstring) and Fabian Balbuena (knock) are doubts and will be assessed before kick-off on Tuesday and Pellegrini may rotate his options.
Cardiff boss Neil Warnock on Sunday celebrated his 70th birthday. Pellegrini, five years his junior, hopes to be a manager into his eighth decade, too.
He said: "I hope I will have the chance to continue not only to 70, more also."
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Matt McGeehan, Press Association Sport');
ga('pacontentapi.set', 'dimension2', '5d30fb57-7673-40c5-b94a-62c141175041');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:club-news,paservice:sport:football,paservice:sport:uk');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:football');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Pellegrini pleased with the class of Snodgrass'});