Add constructor new() to all nodes