Changed to new LDA interface