various updates on the generation of messages