It ain't perfect but we have a working database