Modified Receiver.cpp