Brown thanks mentor O'Shea