locDB_rework