adding inheritance - going to consolidate shared functionality between sender and receiver