#5: add the necessary Node class methods for commit 9443288 (above)