prepare BDD