by shooting itself in the foot 
(ROOT (PP (IN by) (S (VP (VBG shooting) (NP (PRP itself)) (PP (IN in) (NP (DT the) (NN foot)))))))
(ROOT (PP (IN ) (S (VP (VBG ) (NP (PRP )) (PP (IN ) (NP (DT ) (NN )))))))