add Receiver class and test it