example monkey patch visit to raise an exception if not within an acceptable range