find node implementation