adjacent node work