added use db statement