sketched script for adding lda traits to DB