started lda_abs implementation