adding getSenderAddr and getRecipientAddr