Missed adding the global $dbh line in the new method.

#222