Add LDA and cleanup