a bit of explanation for the monkeypatch