renamed dblink to dbname