implemented findNode