factored out the corpus build