set db to be holder of all statements