How can I run two PIR independently


I am playing around with PIR's and would like to have two pir working independently from each other and they each turn their own light on.

This code is simple but for one only. I added second to pin 4 and 5 but dosen't know how to edit the code

void setup() {
pinMode(2, INPUT); //Pin 2 as INPUT
pinMode(3, OUTPUT); //PIN 3 as OUTPUT

void loop() {
if (digitalRead(2) == HIGH)
digitalWrite(3, HIGH); // turn the LED/Buzz ON
delay(100); // wait for 100 msecond
digitalWrite(3, LOW); // turn the LED/Buzz OFF
delay(100); // wait for 100 msecond


Pretty much all you have to do is duplicate that code for 2 different pins.