Working on getting the dbm to work with the rest of the program