finish ast example