Removed findObstacles, added retrieveNode function.