removed ast pointer