DB.class.php add methods