implemented sharing of the messages