rewrite (generate) to use forest/gen2