can you assign ``getNode()`` to a variable before the return statement. should make the code more readable and reduce function calls