global ast example