added skeleton for lda extracton