He had never felt better.
( He ( ( ( had never ) ( felt better ) ) . ) )
(ROOT (S (NP (PRP He)) (VP (VBD had) (ADVP (RB never)) (VP (VBN felt) (ADVP (RBR better)))) (. .)))
The medicine he had taken had worked well.
( ( ( The medicine ) ( he ( had taken ) ) ) ( ( had ( worked well ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN medicine)) (SBAR (S (NP (PRP he)) (VP (VBD had) (VP (VBN taken)))))) (VP (VBD had) (VP (VBN worked) (ADVP (RB well)))) (. .)))