reworked DB files