db setup finally