add timestamp field to messages