in main, creating lda model