docs on ast has errors