the story has some nice twists but the ending and 
(ROOT (S (S (NP (DT the) (NN story)) (VP (VBZ has) (NP (DT some) (JJ nice) (NNS twists)))) (CC but) (NP (NP (DT the) (NN ending)) (CC and))))
(ROOT (S (S (NP (DT ) (NN )) (VP (VBZ ) (NP (DT ) (JJ ) (NNS )))) (CC ) (NP (NP (DT ) (NN )) (CC ))))