fold the monkeypatch into the factory