to be startled when you 're almost dozing 
(ROOT (S (VP (TO to) (VP (VB be) (VP (VBN startled) (SBAR (WHADVP (WRB when)) (S (NP (PRP you)) (VP (VBP 're) (ADVP (RB almost)) (VP (VBG dozing))))))))))
(ROOT (S (VP (TO ) (VP (VB ) (VP (VBN ) (SBAR (WHADVP (WRB )) (S (NP (PRP )) (VP (VBP ) (ADVP (RB )) (VP (VBG ))))))))))