working on receiver class