changes to receiver.pl