converted the digits example to use the new forests