Code to communicate between two WIR-1186 modules

this if my code for the sender. it is the same for the reciever as well, but with the Serial.println("RECIEVER");
mySerial.println("RECIEVER");

What I mean by it running perfectly is,
It displays SENDER and RECEIVER on the serial monitors of the TRANSMITTING and RECEIVING arduino UNOs respectively.

But the RECEIVING arduino doesnt display 'SENDER' string and vice versa. That's my problem.

#include <SoftwareSerial.h>
#include "Arduino.h"
#include "WIR.h"
int Prog=2;
int CTS=4;

SoftwareSerial mySerial(10, 11); // RX, TX

void setup() {
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  mySerial.begin(9600);
 pinMode(Prog, OUTPUT);
  digitalWrite(Prog, LOW);
 
  delay(10000);
  digitalWrite(Prog,HIGH);
  
  pinMode(CTS,INPUT);
 
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }


  Serial.println("SENDER");


  
  mySerial.println("SENDER");
}

void loop() { // run over and over

  {if (mySerial.available()) {
    Serial.println("mySerial Available");
    Serial.write(mySerial.read());
     //Serial.println(mySerial.read());
  }
 
  
  if (Serial.available()) {
    Serial.println("Serial Available");
    mySerial.write(Serial.read());
     mySerial.println(Serial.read());
  }
}}