db setup works (but dirty)