getting data for sender and receivers