first round of db config