cleaned up Receiver.cpp