add timestamp to messages