Change db to word structure