working on loading db