removed loadDB function