refact DBManagement (return)