return messages in string