(S (S (BASENP (NNP Lawyer) (NNP Rob) (NNP Stary)) (VP (VBD said) (SBAR (S (BASENP (NNP Thomas)) (VP (VBD wanted) (S (VP (TO to) (VP (VB thank) (NP (NP (PRPD his) (NP (JJ legal) (BASENP (NN team) (CC and) (NN staff)))) (PP (IN at) (NP (BASENP (DT a) (NN hospital)) (SBAR (S (BASENP (PRP he)) (VP (VBD had) (VP (VP (VBN spent) (BASENP (DT the) (ADJP (JJ past) (JJ several)) (NNS months))) (PP (IN in) (BASENP (JJ psychiatric) (NN care)))))))))))))))))) (PERIOD .))