trash interacts with  ast.