adding timestamps to messages buffer