nevermind; pass fully db in twice in main

even though it's kind of silly