working lda, topics as parameter