What does ausklügeln mean?

ausklügeln - German to English

to contrive