use correct AST node (not current statement)