use message & message_set objects, sanitize output