`$db_object` should be named `$db`