added db.txt, skip function