added missing Cat prior to random sampling LDA