loadbar+deleteDB method