anchor.diff:  	end.
   %% @hidden
   install3(Nodes, Acc) ->
  -	case mnesia:create_table(client, [{disc_copies, Nodes},
  -			{attributes, record_info(fields, client)},
  -			{index, [#client.identifier]}]) of
  -		{atomic, ok} ->
  -			error_logger:info_msg("Created new client table.~n"),
  +	case create_table(client, Nodes) of
  +		ok ->
   			install4(Nodes, [client | Acc]);
  -		{aborted, {not_active, _, Node} = Reason} ->
  -			error_logger:error_report(["Mnesia not started on node",
  -					{node, Node}]),
  -			{error, Reason};
  -		{aborted, {already_exists, client}} ->
  -			error_logger:info_msg("Found existing client table.~n"),
  -			install4(Nodes, [client | Acc]);
  -		{aborted, Reason} ->
  -			error_logger:error_report([mnesia:error_description(Reason),
  -				{error, Reason}]),
  +		{error, Reason} ->
   			{error, Reason}
   	end.
   %% @hidden
   install4(Nodes, Acc) ->
  -	case mnesia:create_table(service, [{disc_copies, Nodes},
  -			{attributes, record_info(fields, service)}]) of
  -		{atomic, ok} ->
  -			error_logger:info_msg("Created new service table.~n"),
  -			install5(Nodes, [service| Acc]);
  -		{aborted, {not_active, _, Node} = Reason} ->
  -			error_logger:error_report(["Mnesia not started on node",
  -					{node, Node}]),
  -			{error, Reason};
  -		{aborted, {already_exists, service}} ->
  -			error_logger:info_msg("Found existing service table.~n"),
  -			install5(Nodes, [service| Acc]);
  -		{aborted, Reason} ->
  -			error_logger:error_report([mnesia:error_description(Reason),
  -				{error, Reason}]),
  +	case create_table(service, Nodes) of
  +		ok ->
  +			install5(Nodes, [service | Acc]);
  +		{error, Reason} ->
   			{error, Reason}
   	end.
   %% @hidden
   install5(Nodes, Acc) ->
  -	case mnesia:create_table(product, [{disc_copies, Nodes},
  -			{attributes, record_info(fields, product)}]) of
  -		{atomic, ok} ->
  -			error_logger:info_msg("Created new product table.~n"),
  +	case create_table(product, Nodes) of
  +		ok ->
   			install6(Nodes, [product | Acc]);
  -		{aborted, {not_active, _, Node} = Reason} ->
  -			error_logger:error_report(["Mnesia not started on node",
  -					{node, Node}]),
  -			{error, Reason};
  -		{aborted, {already_exists, product}} ->
  -			error_logger:info_msg("Found existing product table.~n"),
  -			install6(Nodes, [product | Acc]);
  -		{aborted, Reason} ->
  -			error_logger:error_report([mnesia:error_description(Reason),
  -				{error, Reason}]),
  +		{error, Reason} ->
   			{error, Reason}
   	end.
   %% @hidden
   install6(Nodes, Acc) ->
  -	case mnesia:create_table(resource, [{disc_copies, Nodes},
  -			{attributes, record_info(fields, resource)}]) of
  -		{atomic, ok} ->
  -			error_logger:info_msg("Created new resource table.~n"),
  +	case create_table(resource, Nodes) of
  +		ok ->
   			install7(Nodes, [resource | Acc]);
  -		{aborted, {not_active, _, Node} = Reason} ->
  -			error_logger:error_report(["Mnesia not started on node",
  -					{node, Node}]),
  -			{error, Reason};
  -		{aborted, {already_exists, resource}} ->
  -			error_logger:info_msg("Found existing resource table.~n"),
  -			install7(Nodes, [resource | Acc]);
  -		{aborted, Reason} ->
  -			error_logger:error_report([mnesia:error_description(Reason),
  -				{error, Reason}]),
  +		{error, Reason} ->
   			{error, Reason}
   	end.
   %% @hidden
   install7(Nodes, Acc) ->
  -	case mnesia:create_table(offer, [{disc_copies, Nodes},
  -			{attributes, record_info(fields, offer)}]) of
  -		{atomic, ok} ->
  -			error_logger:info_msg("Created new offer table.~n"),
  +	case create_table(offer, Nodes) of
  +		ok ->
   			case add_example_offers() of
   				ok ->
   					error_logger:info_msg("Added example offers to product catalog.~n"),
  
positive.code: 			{attributes, record_info(fields, httpd_group)}]));
  create_table(session, Nodes) ->
  	create_table1(mnesia:create_table(session, [{ram_copies, Nodes},
  			{attributes, record_info(fields, session)}]));
  create_table(nrf_ref, Nodes) ->
  	create_table1(mnesia:create_table(nrf_ref, [{ram_copies, Nodes},
  			{attributes, record_info(fields, nrf_ref)}])).
  %% @hidden
  create_table1({atomic, ok}) ->
  	ok;
  create_table1({aborted, {already_exists, resource}}) ->
  	ok;
  create_table1({aborted, Reason}) ->
  	{error, Reason}.
  
  
negative.code: 		{aborted, {no_exists, {client, _C}}} ->
  			case create_table(client, Nodes) of
  				ok ->
  					join7(Node, Nodes, [client | Acc]);
  				{error, Reason} ->
  					{error, Reason}
  			end;
  		{aborted, Reason} ->
  