added Node class