the movie knew what to do with him 
(ROOT (S (NP (DT the) (NN movie)) (VP (VBD knew) (SBAR (WHNP (WP what)) (S (VP (TO to) (VP (VB do) (PP (IN with) (NP (PRP him))))))))))
(ROOT (S (NP (DT ) (NN )) (VP (VBD ) (SBAR (WHNP (WP )) (S (VP (TO ) (VP (VB ) (PP (IN ) (NP (PRP ))))))))))