add timestamps to messages