(S (S (S (BASENP (DT Both) (NNS offenses)) (VP (VBD were) (VP (VBG struggling)))) (SBAR (WHADVP (WRB when)) (S (BASENP (NN guard) (NNP Andrew) (NNP Matthew)) (VP (VP (VBD stole) (BASENP (DT the) (NN ball))) (CC and) (VP (VBD made) (NP (BASENP (DT a) (NN pass)) (PP (TO to) (NP (BASENP (NNP Gordan)) (COMMA ,) (SBAR (WHNP (WP who)) (S (VP (VP (VBD threw) (BASENP (DT another) (NN pass))) (PP (TO to) (NP (BASENP (JJ fellow) (NN guard) (NNP Jordan) (NNP Fleisher)) (COMMA ,) (SBAR (WHNP (WP who)) (S (VP (VP (VBD took) (BASENP (DT the) (NN ball))) (CC and) (VP (VBD scored) (PP (IN on) (BASENP (DT a) (NN layup)))))))))))))))))))) (PERIOD .))