mock_mode