Original sentence: Kirk (William Shatner) learns that Spock's essence or katra is held in the mind of Leonard McCoy (DeForest Kelley), Kirk and company steal the Enterprise in order to return Spock's body to his home planet; the crew must content with hostile Klingons bent on stealing the secrets of a powerful terraforming device
Edited sentence: Kirk (William Shatner) learns that Spock's essence or katra is held in the mind of Leonard McCoy (DeForest Kelley), Kirk and company steal the Enterprise in order to return Spock's body to his home planet; the crew must contend with hostile Klingons bent on stealing the secrets of a powerful terraforming device