add nod function for pr2