implemented node to node mapping model