Three army soldiers are holding guns and peering around a corner of a building.
Soldiers are being told to guard a building.
The may be on attack and not to guard the building.
Peering does not necessarily imply to guard something.
Just because they are holding guns does not mean that they guard a building.