You went to great pains to cover your tracks, but people always talk.
They've gone to great pains to conceal something from us.
We go to great pains to keep ourselves and our operations from public knowledge.
They went to great pains to say the decision was a personal one.
Why do you go to such pains to preserve your original turn of speech?
"But why have you gone to such pains to keep it secret?"
To think they would go to such pains ¡X to give her props like those!
Why, not even the Queen went to such pains over her appearance!
The film goes to great pains to avoid addressing such questions.
Not when someone was going to such pains to set plans in motion.