implemented NodeRepository