modifying multiwordsample