Please correct grammatical problems in the following sentence.
The social setting of the invention also plays an interesting role in shaping the history of jet engine.
The social setting of the invention also plays an interesting role in shaping the history of the jet engine.