process nested messages