Take pains with something/to do something - Idioms by The Free Dictionary
take pains with something/to do something
take pains with someone or something
Fig. to deal with someone or something with great care. He really took pains with me to make sure I understood it all. Ken took pains with the model plane.
take (great) ˈpains with something/to do something,
go to great ˈpains to do something make a great effort to do something well, carefully, properly, etc: It looks easy but in fact he went to great pains to achieve that particular effect in his paintings. ♢ She takes great pains with the flower arrangements.