working on getting db working