linked create pool with DB
Got rid of all errors