sentence: He walked and walked , thinking about what could it be , until , after a long time walking , he realised he did not know where he was .
modified: He walked and walked thinking what could it be , until after a long time walking he realised he did not know where he was .
transformation: PUNCT, PREP, PUNCT, PUNCT