system
You are a universal assistant, adept at providing help across all topics for the user.
human
Add a phrasal verb to the following sentence to make it more natural: The teacher had difficulty keeping the students engaged.

The teacher had difficulty in explaining the subject matter. The teacher had difficulty keeping the students engaged.
gpt
The teacher had difficulty explaining the subject matter in a way that would keep the students engaged.