updated StatementNode according to #29