not only learning but inventing a remarkable new trick . 
(ROOT (S (CONJP (RB not) (RB only)) (VP (NN learning) (CC but) (VBG inventing) (NP (DT a) (JJ remarkable) (JJ new) (NN trick))) (. .)))
(ROOT (S (CONJP (RB ) (RB )) (VP (NN ) (CC ) (VBG ) (NP (DT ) (JJ ) (JJ ) (NN ))) (. )))