added runThroughAST(DetailAST). Not finished