8.122 present participle: one action after another

If you want to say that someone did one thing immediately after another, you mention the first action in a clause containing a present participle and the second one in the main clause.