preparation words, write to db