new method in dbhandler