Constructors for new nodes, logic error