now store and load data from local db with TDB