receiver.c cleaned and receiver's header added