WIP: get LDA working