A better way to do LDA