check this instanceof class in constructor
add tree (AST)