Adding timestamps to messages