How does the sentence end?

Dennis was invited for an interview by Justin for a position at a new office.
Dennis prepared by researching the company.