changed to use DB connection pool