safe a few closures on mutually recursive functions