Correct all grammatical mistakes in the given text.
I have known Tom for more than 10 years for both personal and professional reasons.
I have known Tom for more than 10 years in both personal and professional capacities.