changed data structure of messages + date of message if not left and
received on the same day