Removed getNode function