Added declaration of db object