to take LDA