sentence1: John strode on ahead and I took the opportunity of whispering to Poirot: "There will be an inquest then?" Poirot nodded absently. 
sentence2: I took the opportunity to speak to Poirot when John walked ahead of us.