The British used whistles to communicate to other soldiers, so before they shelled the German trenches, they would sound the whistle. However, the Germans caught on to this tactic after a while, so after the shelling, when the British soldiers came to finish off the German soldiers, the Germans were ready with their machine guns, because they knew the British were coming.