finished db setup