added thf to db