Updated internal Node class