How does the sentence end?

Kyle received a fantastic education from his teachers thanks in no small part to Ian, for whose benefit
Ian provided proper guidance.