#27 Pseudo code for message content processing