debugging the ast