add corpus processing