finished the long db chapter ... seems like there might be some bugs in the book