changed dbConnect