anchor.diff:  computeWorker(Key) ->
   	try
   		LastJob = job:getJobDetail(Key),
  -		{_, JobList} = job:listJob(),
  -		Nodes = verifyNode(LastJob, JobList, []),
  +		{_, NodeList} = node:listNode(),
  +		Nodes = verifyNode(LastJob, NodeList, []),
   		findBestBidder(Nodes)
   	catch
   		Exception:Reason -> {caught, Exception, Reason}
   	end.
   
   verifyNode(Job, [H|T], ValidNodes) ->
  -CurNode = job:getJobDetail(H),
  +CurNode = node:getNodeDetail(H),
   if
  -	CurNode#job_info.core >= Job#job_info.core,
  -	CurNode#job_info.ram >= Job#job_info.disk,
  -	CurNode#job_info.disk >= Job#job_info.disk ->
  +	CurNode#node_info.core >= Job#job_info.core,
  +	CurNode#node_info.ram >= Job#job_info.ram,
  +	CurNode#node_info.disk >= Job#job_info.disk ->
   		verifyNode(Job, T, [CurNode|ValidNodes]);
   	true ->
   		verifyNode(Job, T, ValidNodes)
  
positive.code: -module(policy).
  
  -export([computeWorker/1]).
  
  -record(job_info,
  	{owner="",
  	core=1,
  	ram=1,
  	disk=1,
  
negative.code: 
  findBestBidder([H|T]) -> findBestBidder(H,T).
  
  findBestBidder(M,[H|L]) when M#node_info.price < H#job_info.job_cost -> findBestBidder(M,L);
  findBestBidder(_,[H|L]) -> findBestBidder(H,L);
  findBestBidder(M,[]) -> M.
  